﻿#include "CmdCreateThreeDCloudMap.h"
#include <QFile>
#include <QDebug>
#include "BaseModule/IBaseSignal.h"
#include "PostCommandPy.h"
#include <iostream>

namespace PostCommand
{
    CmdCreateThreeDCloudMap::CmdCreateThreeDCloudMap()
        : CommandBase()
    {
        this->initCmdName();
    }
    CmdCreateThreeDCloudMap::~CmdCreateThreeDCloudMap()
    {
    }

    bool CmdCreateThreeDCloudMap::execute()
    {
        bool _success = false;
        emit IBaseSignalInstance->signal_sendThreeDCloudMapData(m_useNewWindow, m_graphType, m_variableIndex, m_readerIndex, m_filePath, m_name, m_geometryFileName, m_resultDataIndex);
        return _success;
    }

    void CmdCreateThreeDCloudMap::undo()
    {
    }

    void CmdCreateThreeDCloudMap::redo()
    {
        // execute();
    }

} // namespace PostCommand
